package com.shyroke.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shyroke.entity.Label;

public interface LabelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Label record);

    int insertSelective(Label record);

    Label selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Label record);

    int updateByPrimaryKey(Label record);

	List<Label> selectAll();

	/**
	 * 根据label查找labelId
	 * @param label
	 * @return
	 */
	int selectLabelIdByLabel(@Param("label")String label);
}